<%@ page language="java" errorPage="/CustomError.jsp" pageEncoding="UTF-8"%>
<%request.getRequestDispatcher("/jsp/BaseInclude.jsp").include(request, response);%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<%
response.setHeader("Pragma", "no-cache");
response.setHeader("Cache-Control", "no-store"); // no-cache, must-revalidate, max-age=0,post-check=0, pre-check-0");
response.setDateHeader("Expires", 0);
String path = request.getContextPath();
String sessionId = session.getId();
String pageFrom = request.getParameter("pagefrom");

String errrorMessage = (String)request.getAttribute("errorMessage");
if(errrorMessage == null || errrorMessage.equals(""))
	errrorMessage = (String)request.getParameter("errorMessage");
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><bean:message key="login.titile"/></title>

<script type="text/javascript" language="javascript" src="<%=path%>/include/lib/jquery.js"></script>
<script type="text/javascript" language="javascript" src="<%=path%>/include/lib/curvycorners.js"></script>
<script type="text/javascript" language="javascript" src="<%=path%>/include/lib/link.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/include/lib/md5.js">
  
   </script>
   	<script type='text/javascript' src='<%=path%>/include/lib/utils.js'></script>
   <SCRIPT language="javascript">
   var pageFrom = "<%=pageFrom%>";
   var errrorMessage = "<%=errrorMessage%>";
   var keysCaps = "false";
//  for disabling back button
//    window.history.go(1);
   
   function loader() { 
	//	self.focus(); //Bring window to foreground if necessary. 
		var form = document.forms[0]; // grab the first form available. 
		form.setAttribute("autocomplete","off"); // Turn off Autocomplete for the form, if the browser supports it. 
		//form.elements[0].focus(); // Send the cursor to the first field of the first form 
	} 
   
   
   
   window.onload = function()
	{
		if(errrorMessage == null || errrorMessage == "" || errrorMessage == "null") {
			if(pageFrom != "Y") {
				
			}
		}
		document.all.loginid.focus();
		document.all.uipassword.value = "";
		document.all.password.value = "";
		//to turn off autocomplete feature of the browser for the current form.
		loader();
	}
	function submitForm()
	  {
		  var loginId = document.all.loginid.value;
		  var pwd = document.all.uipassword.value;
		 
		  if ( null == loginId || loginId == "" )
		  {
		  	window.alert("User Id cannot be blank");
		  	document.all.loginid.focus();
		  	return false;
		  }
		  
		  if (null == pwd || pwd == "")
		  {
		 		 window.alert("Password cannot be blank");
		 		 document.all.uipassword.focus();
		  	return false;
		  }                          
		   
		document.all.password.value = hex_md5(pwd) + hex_md5('<%=sessionId%>');
		document.all.password.value = hex_md5(document.all.password.value);
		
		document.all.uipassword.value = "";

		return true;
	  }
		  
	  function resetdata()
		{
			document.all.loginid.value = "";
			document.all.uipassword.value = "";
			document.all.password.value = "";
			document.all.loginid.focus();
			return false;
		} 
	
   </SCRIPT>

</head>
<body>
				<jsp:include page="Logo.jsp"></jsp:include>
		<html:form action="<%=path %>/jsp/common/CommonsListAddItem.jsp" method="post" onsubmit="return submitForm()">
			<div id="main">
				<div id="top-blue-line"></div>
				<div id="margin-top">
					<div id="content">
						<div id="wid-228">
							<div id="myBox">
								<div class="pad-left">
									<span class="blue-bold"><bean:message key="securelogin" />
									</span>
								</div>

								<logic:present name="errorMessage" scope="request">
									<div class="error-div">
										<span class="error">Login Error!</span>
										<br />
										<span class="error-txt"><bean:write name="errorMessage" />
										</span>
									</div>
								</logic:present>

								<div class="pad-left">
									<span class="bold-11"><bean:message key="userid" />
									</span>
									<br />
									<html:text property="loginid" alt="Enter LoginID"
										styleClass="field-login" maxlength="25" />
								</div>
								<div class="pad-left">
									<span class="bold-11"><bean:message key="password" />
									</span>
									<br />
									<input type="password" name="uipassword" alt="Enter password"
										class="field-login" onKeyDown="return DisableCtrlKey(event)"
										maxlength="50" />
									<html:hidden property="password" value="" />
									<html:hidden property="sessionid" value="<%=sessionId%>" />
								</div>
								<div class="pad-left">
									<input name="Input" id="Input" type="checkbox" value="vb"
										onclick="showoption(); " />
									&nbsp;
									<span class="key">Use Virtual Keyboard</span>
									<br />
									<div class="recc-pad">
										<span class="pink-b">(Recommended)</span>
									</div>
								</div>
								<div class="pad-left">
									<br />
									<html:submit property="submit" styleClass="submit"
										style="cursor:pointer">
										<bean:message key="login.titile" />
									</html:submit>
									<a href="#"><input type="button" id="Reset" title="Reset"
											name="Reset" style="cursor: pointer" class="submit"
											value="Reset" onclick="resetdata();" />
									</a>
									<br>
									<br>

								</div>

								<div class="login-error">
									<html:errors />
								</div>
							</div>

							<div class="keyboard">
								<div id="board-active" style="display: none; padding: 5px">
									<div class="wid-275">
										<span class="pink-b">Virtual Keyboard</span>
										<span class="key">(for entering password only)</span>
									</div>
									<br />
									<br />
									<table width="272" border="0" align="center" cellpadding="0"
										cellspacing="0">
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('j')">j</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('y')">y</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('y')">y</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('c')">c</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('o')">o</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('t')">t</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('q')">q</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('m')">m</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('f')">f</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('i')">i</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('5')">5</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('7')">7</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('4')">4</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('b')">b</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('p')">p</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('x')">x</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('v')">v</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('x')">x</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('n')">n</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('h')">h</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('k')">k</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('r')">r</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('2')">2</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('9')">9</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('0')">0</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('u')">u</a>
												</span>
											</td>
											<td>
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKey('z')">z</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('g')">g</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('w')">w</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('e')">e</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('a')">a</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('d')">d</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('1')">1</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('3')">3</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('8')">8</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('_')">_</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('>')">&gt;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('-')">-</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(',')">,</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('{')">{</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('}')">}</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('}')">}</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('?')">?</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(''')">&quot;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('<')">&lt;</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('6')">6</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('!')">!</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(')')">)</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('%')">%</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('~')">~</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(';')">;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('(')">(</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('`')">`</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('\')">\</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(''')">&quot;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('@')">@</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('&')">&amp;</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(':')">:</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKey('^')">^</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('|')">|</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('?')">?</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('$')">$</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('.')">.</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('(')">{</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('*')">*</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('=')">=</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('+')">+</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('#')">#</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="14" valign="middle">
												<div class="key-padding">
													<span class="backspace-a"><a class="keylink"
														href="javascript:enterVirtualKeys('bksp')">Back space</a>
													</span>
												</div>
												<div class="key-padding">
													<span class="clear-a"><a class="keylink"
														href="javascript:enterVirtualKeys('clr')">Clear</a>
													</span>
												</div>
												<div class="key-padding">
													<span class="backspace-a"><a class="keylink"
														href="javascript:enterVirtualKeys('caps')">Caps Lock</a>
													</span>
												</div>
											</td>
										</tr>
									</table>
								</div>


								<div id="board-inactive" style="padding: 5px">
									<div class="wid-275">
										<span class="pink-b">Virtual Keyboard</span>
										<span class="key">(for entering password only)</span>
									</div>
									<br />
									<br />
									<table width="272" border="0" align="center" cellpadding="0"
										cellspacing="0">
										<tr>
											<td valign="middle">
												<span class="inactivekeys">j</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">y</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">l</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">c</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">o</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">t</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">q</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">m</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">f</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">i</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="inactivekeys">5</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">7</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">4</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="inactivekeys">b</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">p</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">x</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">v</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">s</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">n</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">h</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">k</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">r</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="inactivekeys">2</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">9</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">0</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="inactivekeys">u</span>
											</td>
											<td>
												<span class="inactivekeys">z</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">g</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">w</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">e</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">a</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">d</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="inactivekeys">1</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">3</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">8</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="inactivekeys">_</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">&gt;</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">-</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">,</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">{</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">}</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">}</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">?</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">&quot;</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">&lt;</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="inactivekeys">6</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="inactivekeys">!</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">)</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">%</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">~</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">;</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">(</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">`</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">\</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">&quot;</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">@</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">&amp;</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="inactivekeys">:</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">^</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">|</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">?</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">$</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">.</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">{</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">*</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">=</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">+</span>
											</td>
											<td valign="middle">
												<span class="inactivekeys">#</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="14" valign="middle">
												<div class="key-padding">
													<span class="backspace-i">Back space</span>
												</div>
												<div class="key-padding">
													<span class="clear-i">Clear</span>
												</div>
												<div class="key-padding">
													<span class="backspace-i">Caps Lock</span>
												</div>
											</td>
										</tr>
									</table>
								</div>

								<div id="board-active-caps" style="display: none; padding: 5px">
									<div class="wid-275">
										<span class="pink-b">Virtual Keyboard</span>
										<span class="key">(for entering password only)</span>
									</div>
									<br />
									<br />
									<table width="272" border="0" align="center" cellpadding="0"
										cellspacing="0">
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('J')">J</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('Y')">Y</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('L')">L</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('C')">C</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('O')">O</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('T')">T</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('Q')">Q</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('M')">M</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('F')">F</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('I')">I</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('5')">5</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('7')">7</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('4')">4</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('B')">B</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('P')">P</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('S')">S</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('V')">V</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('X')">X</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('N')">N</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('H')">H</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('K')">K</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('R')">R</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('2')">2</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('9')">9</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('0')">0</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('U')">U</a>
												</span>
											</td>
											<td>
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('Z')">z</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('G')">G</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('W')">W</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('E')">E</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('A')">A</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('D')">D</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('1')">1</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('3')">3</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('8')">8</a>
												</span>
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('_')">_</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('>')">&gt;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('-')">-</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(',')">,</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('{')">{</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('}')">}</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('}')">}</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('?')">?</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(''')">&quot;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('<')">&lt;</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('6')">6</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('!')">!</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(')')">)</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('%')">%</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('~')">~</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(';')">;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('(')">(</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('`')">`</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('\')">\</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(''')">&quot;</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('@')">@</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('&')">&amp;</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys(':')">:</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('^')">^</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('|')">|</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('?')">?</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('$')">$</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('.')">.</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('(')">{</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('*')">*</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('=')">=</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('+')">+</a>
												</span>
											</td>
											<td valign="middle">
												<span class="activekeys"><a class="keylink"
													href="javascript:enterVirtualKeys('#')">#</a>
												</span>
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
											<td valign="middle">
												&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="14" valign="middle">
												<div class="key-padding">
													<span class="backspace-a"><a class="keylink"
														href="javascript:enterVirtualKeys('bksp')">Back space</a>
													</span>
												</div>
												<div class="key-padding">
													<span class="clear-a"><a class="keylink"
														href="javascript:enterVirtualKeys('clr')">Clear</a>
													</span>
												</div>
												<div class="key-padding">
													<span class="backspace-a"><a class="keylink"
														href="javascript:enterVirtualKeys('caps')">Caps Lock</a>
													</span>
												</div>
											</td>
										</tr>
									</table>
								</div>

							</div>
							<!-- PRADEEP END -->
							<div class="clr"></div>
						</div>

						<div class="welcome">
							&nbsp;Welcome to your FMS SITE!
							<br />
							<br />
							<br />
							<img src="<%=path%>/images/Login.jpg" width="383" height="285" />
							<br />
							<br />
						</div>
					</div>
				</div>
			</div>
		</html:form>
		<jsp:include page="Footer.jsp" />
</body>
</html>
